-- GENERATED SPELL FOR [Shadowshard Rumbler] --


function spell0_11777(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(5568,pUnit)
pUnit:RegisterEvent('Sorts_11777', 632, 1)
end

function Sorts_11777(pUnit, Event)
local choix_sorts_11777 = math.random(0, 0)
if choix_sorts_11777 == 0 then
pUnit:RegisterEvent('spell0_11777', 1, 1)
end
end

function mob11777_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11777', math.random(1500, 3000), 1)
end

function mob11777_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11777_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11777_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11777, 1, 'mob11777_Action')
RegisterUnitEvent(11777, 2, 'mob11777_Leave')
RegisterUnitEvent(11777, 3, 'mob11777_Kill')
RegisterUnitEvent(11777, 4, 'mob11777_Die')
